package routers

import (
	"github.com/astaxie/beego"
	"github.com/astaxie/beego/context/param"
)

func init() {

    beego.GlobalControllerRouter["xiegao/controllers:AccessTokenController"] = append(beego.GlobalControllerRouter["xiegao/controllers:AccessTokenController"],
        beego.ControllerComments{
            Method: "Get",
            Router: `/accesstoken`,
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["xiegao/controllers:Banner"] = append(beego.GlobalControllerRouter["xiegao/controllers:Banner"],
        beego.ControllerComments{
            Method: "List",
            Router: `/banner`,
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["xiegao/controllers:Banner"] = append(beego.GlobalControllerRouter["xiegao/controllers:Banner"],
        beego.ControllerComments{
            Method: "AddOne",
            Router: `/banner`,
            AllowHTTPMethods: []string{"post"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["xiegao/controllers:Banner"] = append(beego.GlobalControllerRouter["xiegao/controllers:Banner"],
        beego.ControllerComments{
            Method: "DeleteOne",
            Router: `/banner/:id`,
            AllowHTTPMethods: []string{"delete"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["xiegao/controllers:Banner"] = append(beego.GlobalControllerRouter["xiegao/controllers:Banner"],
        beego.ControllerComments{
            Method: "GetOne",
            Router: `/banner/:id`,
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["xiegao/controllers:HorseMan"] = append(beego.GlobalControllerRouter["xiegao/controllers:HorseMan"],
        beego.ControllerComments{
            Method: "GetList",
            Router: `/horseman`,
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["xiegao/controllers:HorseMan"] = append(beego.GlobalControllerRouter["xiegao/controllers:HorseMan"],
        beego.ControllerComments{
            Method: "UpdateLocalPlace",
            Router: `/horseman/local`,
            AllowHTTPMethods: []string{"patch"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["xiegao/controllers:HorseMan"] = append(beego.GlobalControllerRouter["xiegao/controllers:HorseMan"],
        beego.ControllerComments{
            Method: "GetLocalPlace",
            Router: `/horseman/local/:id`,
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["xiegao/controllers:Login"] = append(beego.GlobalControllerRouter["xiegao/controllers:Login"],
        beego.ControllerComments{
            Method: "Post",
            Router: `/login`,
            AllowHTTPMethods: []string{"post"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["xiegao/controllers:Login"] = append(beego.GlobalControllerRouter["xiegao/controllers:Login"],
        beego.ControllerComments{
            Method: "LoginByWechatCode",
            Router: `/login/code`,
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["xiegao/controllers:Login"] = append(beego.GlobalControllerRouter["xiegao/controllers:Login"],
        beego.ControllerComments{
            Method: "LoginByOpenid",
            Router: `/login/openid`,
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["xiegao/controllers:ProductController"] = append(beego.GlobalControllerRouter["xiegao/controllers:ProductController"],
        beego.ControllerComments{
            Method: "List",
            Router: `/product`,
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["xiegao/controllers:ProductController"] = append(beego.GlobalControllerRouter["xiegao/controllers:ProductController"],
        beego.ControllerComments{
            Method: "Create",
            Router: `/product`,
            AllowHTTPMethods: []string{"post"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["xiegao/controllers:ProductController"] = append(beego.GlobalControllerRouter["xiegao/controllers:ProductController"],
        beego.ControllerComments{
            Method: "UpdateOne",
            Router: `/product/:id`,
            AllowHTTPMethods: []string{"post"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["xiegao/controllers:ProductController"] = append(beego.GlobalControllerRouter["xiegao/controllers:ProductController"],
        beego.ControllerComments{
            Method: "DeleteOnt",
            Router: `/product/:id`,
            AllowHTTPMethods: []string{"delete"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["xiegao/controllers:ProductController"] = append(beego.GlobalControllerRouter["xiegao/controllers:ProductController"],
        beego.ControllerComments{
            Method: "GetOne",
            Router: `/product/:id`,
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["xiegao/controllers:ShopController"] = append(beego.GlobalControllerRouter["xiegao/controllers:ShopController"],
        beego.ControllerComments{
            Method: "List",
            Router: `/shop`,
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["xiegao/controllers:ShopController"] = append(beego.GlobalControllerRouter["xiegao/controllers:ShopController"],
        beego.ControllerComments{
            Method: "Create",
            Router: `/shop`,
            AllowHTTPMethods: []string{"post"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["xiegao/controllers:ShopController"] = append(beego.GlobalControllerRouter["xiegao/controllers:ShopController"],
        beego.ControllerComments{
            Method: "GetOne",
            Router: `/shop`,
            AllowHTTPMethods: []string{"post"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["xiegao/controllers:ShopController"] = append(beego.GlobalControllerRouter["xiegao/controllers:ShopController"],
        beego.ControllerComments{
            Method: "GetOne",
            Router: `/shop/:id`,
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["xiegao/controllers:ShopController"] = append(beego.GlobalControllerRouter["xiegao/controllers:ShopController"],
        beego.ControllerComments{
            Method: "UpdateOne",
            Router: `/shop/:id`,
            AllowHTTPMethods: []string{"post"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["xiegao/controllers:ShopController"] = append(beego.GlobalControllerRouter["xiegao/controllers:ShopController"],
        beego.ControllerComments{
            Method: "DeleteOne",
            Router: `/shop/:id`,
            AllowHTTPMethods: []string{"delete"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["xiegao/controllers:TicketController"] = append(beego.GlobalControllerRouter["xiegao/controllers:TicketController"],
        beego.ControllerComments{
            Method: "Get",
            Router: `/ticket`,
            AllowHTTPMethods: []string{"get"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["xiegao/controllers:UploadController"] = append(beego.GlobalControllerRouter["xiegao/controllers:UploadController"],
        beego.ControllerComments{
            Method: "Post",
            Router: `/upload`,
            AllowHTTPMethods: []string{"post"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

}
